package com.springcloudalibaba;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @描述: 商品服务
 * @作者: lixing
 * @日期 2021/6/4 21:58
 */
@SpringBootApplication
/** 让注册中心能够发现，扫描到该服务 */
@EnableDiscoveryClient
/** 开启 mybatis mapper 接口扫描（多个路径也可以以逗号分隔） */
@MapperScan("com.springcloudalibaba.sellerProduct.mapper")
/** 开启Feign Client */
//@EnableFeignClients(basePackages = {"com.springcloudalibaba.basefeign.service.*.api"})
public class ServiceProductApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceProductApplication.class, args);
    }
}
